package org.xtb.fun2;

import java.io.BufferedWriter;
import java.util.ArrayList;

public class Output {
    private ArrayList<String> kwicList;
    private BufferedWriter outputFile;

    public Output(ArrayList<String> kwicList) {
        this.kwicList = kwicList;
    }

    public String output(){
        StringBuilder result = new StringBuilder();
        for (String s : kwicList) {
            result.append(s).append("\n");
        }
        return result.toString();
    }
}
